<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <link rel="stylesheet" href="/css/font.css">
    <link rel="stylesheet" href="/css/xadmin.css">
    <script src="/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/js/xadmin.js"></script>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <blockquote class="layui-elem-quote">欢迎管理员：
                        <span class="x-red">{{ $admin['username'] }}</span>！当前时间:{{ date("Y-m-d H:i:s",time()) }}
                    </blockquote>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            {{-- TODO:数据统计暂时没数据，先不弄 --}}
            <div class="layui-card">
                <div class="layui-card-header">数据统计</div>
                <div class="layui-card-body ">
                    <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>文章数</h3>
                                <p>
                                    <cite>66</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>会员数</h3>
                                <p>
                                    <cite>12</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>回复数</h3>
                                <p>
                                    <cite>99</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>商品数</h3>
                                <p>
                                    <cite>67</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>文章数</h3>
                                <p>
                                    <cite>67</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6 ">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>文章数</h3>
                                <p>
                                    <cite>6766</cite></p>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">系统信息</div>
                <div class="layui-card-body ">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <th>服务器地址</th>
                            <td>{{ $server['host'] }}</td>
                        </tr>
                        <tr>
                            <th>浏览器标识</th>
                            <td>{{ $server['browser_version'] }}</td>
                        </tr>
                        <tr>
                            <th>操作系统</th>
                            <td>{{ $server['os'] }}</td>
                        </tr>
                        <tr>
                            <th>操作系统版本</th>
                            <td>{{ $server['os_version']}}</td>
                        </tr>
                        <tr>
                            <th>PHP版本</th>
                            <td>{{ $server['php_version'] }}</td>
                        </tr>
                        <tr>
                            <th>Swoole版本</th>
                            <td>{{ $server['swoole_version'] }}</td>
                        </tr>
                        <tr>
                            <th>Mysql版本</th>
                            <td>{{ $server['mysql_version'] }}</td>
                        </tr>
                        <tr>
                            <th>Hyperf版本</th>
                            <td>{{ $server['hyperf_version'] }}</td>
                        </tr>
                        <tr>
                            <th>Hyperf进程数</th>
                            <td>{{ $server['worker_num'] . "个"}}</td>
                        </tr>
                        <tr>
                            <th>Hyperf进程PID</th>
                            <td>{{ $server['run_pid'] }}</td>
                        </tr>

                        <tr>
                            <th>运行环境</th>
                            <td>{{ "Swoole-Cli - " . $server['run_env'] }}</td>
                        </tr>
                        <tr>
                            <th>磁盘剩余空间</th>
                            <td>{{ $server['disk_free_space'] }}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">开发团队</div>
                <div class="layui-card-body ">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <th>版权所有</th>
                            <td>王泽宇(Moxyu)
                                <a href="https://gitee.com/Moxyu" target="_blank">访问码云</a></td>
                        </tr>
                        <tr>
                            <th>开发者</th>
                            <td>王泽宇(1094111567@qq.com)</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <style id="welcome_style"></style>
        <div class="layui-col-md12">
            <blockquote class="layui-elem-quote layui-quote-nm">感谢layui,百度Echarts,jquery,本系统由x-admin提供技术支持。</blockquote>
        </div>
    </div>
</div>
</div>
</body>
</html>